package com.xjm.service;

import cn.hutool.json.JSON;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjm.entity.vo.Result;
import com.xjm.entity.model.UsersModel;
import org.springframework.web.multipart.MultipartFile;

public interface UserService extends IService<UsersModel> {
    Result<Void> register(UsersModel usersModel);

    Result<JSON> login(UsersModel userModel);

    Result<JSON> getQrStatus(String uuid);

    Result<String> auth(String uuid, String token);

    Result<Void> confirm(String uuid);

    Result<Void> cancel(String uuid);

    String uploadAvatar(MultipartFile file);
}
